package com.yh.hljapp.modules.bean;

import com.google.gson.annotations.SerializedName;
import com.yh.hljapp.gddb.gdbean.MatBean;
import com.yh.hljapp.gddb.gdbean.ScoreEntry;

import java.util.List;

/**
 * =========================
 * 版权所有，违法必究
 * 作者：john
 * <p>
 * 工程：FoodBarcode
 * <p>
 * 文件名：WLBean
 * <p>
 * 创建时间：2017.05.23.14:33
 * *****************************
 */
public class WLBean extends Entity {

    private List<MatBean> ItemList;
    private List<UnitList2Bean> UnitList2;
    private List<ScoreEntry> ScoreEntryList;

    public List<MatBean> getItemList() {
        return ItemList;
    }

    public void setItemList(List<MatBean> ItemList) {
        this.ItemList = ItemList;
    }

    public List<UnitList2Bean> getUnitList2() {
        return UnitList2;
    }

    public void setUnitList2(List<UnitList2Bean> UnitList2) {
        this.UnitList2 = UnitList2;
    }

    public List<ScoreEntry> getScoreEntryList() {
        return ScoreEntryList;
    }

    public void setScoreEntryList(List<ScoreEntry> scoreEntryList) {
        ScoreEntryList = scoreEntryList;
    }

    public static class ItemListBean {
        /**
         * id : 5764
         * model : 12*50
         * name : 阿毛臭干子
         * number : 01.001
         * unit_name : 件
         * unit_id : 130
         * unitgroup_name : 数量组(600)
         * unitgroup_id : 129
         */

        private String id;
        private String model;
        private String name;
        private String number;
        private String unit_name;
        private String unit_id;
        private String unitgroup_name;
        private String unitgroup_id;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getModel() {
            return model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getUnit_name() {
            return unit_name;
        }

        public void setUnit_name(String unit_name) {
            this.unit_name = unit_name;
        }

        public String getUnit_id() {
            return unit_id;
        }

        public void setUnit_id(String unit_id) {
            this.unit_id = unit_id;
        }

        public String getUnitgroup_name() {
            return unitgroup_name;
        }

        public void setUnitgroup_name(String unitgroup_name) {
            this.unitgroup_name = unitgroup_name;
        }

        public String getUnitgroup_id() {
            return unitgroup_id;
        }

        public void setUnitgroup_id(String unitgroup_id) {
            this.unitgroup_id = unitgroup_id;
        }
    }

    public static class UnitList2Bean {
        /**
         * unit_name : *
         * unit_id : 0
         * unitgroup_name : *
         * unitgroup_id : 0
         */

        private String unit_name;
        private String unit_id;
        private String unitgroup_name;
        private String unitgroup_id;

        public String getUnit_name() {
            return unit_name;
        }

        public void setUnit_name(String unit_name) {
            this.unit_name = unit_name;
        }

        public String getUnit_id() {
            return unit_id;
        }

        public void setUnit_id(String unit_id) {
            this.unit_id = unit_id;
        }

        public String getUnitgroup_name() {
            return unitgroup_name;
        }

        public void setUnitgroup_name(String unitgroup_name) {
            this.unitgroup_name = unitgroup_name;
        }

        public String getUnitgroup_id() {
            return unitgroup_id;
        }

        public void setUnitgroup_id(String unitgroup_id) {
            this.unitgroup_id = unitgroup_id;
        }
    }

    public static class StockListBean {
        /**
         * Id : 10217
         * name : 长江5177
         */

        @SerializedName("Id")
        private String IdX;
        private String name;

        public String getIdX() {
            return IdX;
        }

        public void setIdX(String IdX) {
            this.IdX = IdX;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
